﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ais_editor
{
    public class Ship
    {
        //ShipName,CallSign,IMO,MMSI,ShipTypeCN,ShipTypeEN,
        //NavStatusCN,NavStatusEN,Length,Width,Draught,Heading,
        //Course,Speed,Lon,Lat,Rot,Dest,ETA,Receivedtime（UTC+8）,
        //UnixTime,Lon_d,Lat_d

    //                "lng": 130.41248333333334,
    //"lat": 36.07333333333333,
    //"time": 1502192696,
    //"dir": 30,
    //"heading": 37,
    //"info": []
        #region 原表字段

        public string ShipName;
        public string MMSI;
        public DateTime Time;
        public double Lon;
        public double Lat;
        public double Heading;
        public double Direction;
        public Dictionary<string, string> Values;

        //            Dictionary<string, int> studentScores = new Dictionary<string, int>();
        //studentScores.Add("Alice", 90);
        //studentScores.Add("Bob", 85);
        //studentScores.Add("Charlie", 95);


        #endregion
        //public override string ToString()
        //{
            
        //    return string.Join(",", new string[] {
        //        this.Id,
        //        this.Name,
        //        this.Time,
        //        this.Lon.ToString(),
        //        this.Lat.ToString(),
        //        this.Speed.ToString(),
        //        this.PLon.ToString(),
        //        this.PLat.ToString(),
        //        this.LineId.ToString(),
        //        this.LineName,
        //        this.HDistance.ToString(),
        //        this.VDistance.ToString()
        //    });
        //}
    }
}
